import random
def get_code():
    NUM = [str(var) for var in range(0, 10)]
    a_z = [chr(var) for var in range(97, 123)]
    A_Z = [chr(var) for var in range(65, 91)]
    code_list=random.sample(NUM+a_z+A_Z,6)
    code=''.join(code_list)
    return code






